/*
 * $Id: qthQMainWindow.prg 7 2010-11-07 09:07:07Z tfonrouge $
 */

#include "qtHarbour.ch"

CLASS QMainWindow FROM QWidget
PUBLIC:

  CONSTRUCTOR New

/* QTH_GEN
    varname: mainWindow
    name: addDockWidget
    if( hb_pcount() == 2 )
    {
        param: int Qt::DockWidgetArea
        param: object QDockWidget
    }
    if( hb_pcount() == 3 )
    {
        param: int Qt::DockWidgetArea
        param: object QDockWidget
        param: int Qt::Orientation
    }
   QTH_GEN */
  METHOD addDockWidget
/* QTH_GEN
    name: addToolBar
    if( HB_ISCHAR( 1 ) )
    {
        param: char
        return: object
    }
    if( hb_pcount() == 2 )
    {
        param: int Qt::ToolBarArea
        param: object QToolBar
    }
    if( hb_pcount() == 1 )
    {
        param: object QToolBar
    }
   QTH_GEN */
  METHOD addToolBar
  
/* QTH_GEN
    name: addToolBarBreak
    if( hb_pcount() == 0 )
    {
    }
    if( hb_pcount() > 0 )
    {
        param: int Qt::ToolBarArea
    }
   QTH_GEN */
  METHOD addToolBarBreak

/*

void	addToolBarBreak ( Qt::ToolBarArea area = Qt::TopToolBarArea )
QWidget *	centralWidget () const
Qt::DockWidgetArea	corner ( Qt::Corner corner ) const
virtual QMenu *	createPopupMenu ()
DockOptions	dockOptions () const
Qt::DockWidgetArea	dockWidgetArea ( QDockWidget * dockwidget ) const
bool	documentMode () const
QSize	iconSize () const
void	insertToolBar ( QToolBar * before, QToolBar * toolbar )
void	insertToolBarBreak ( QToolBar * before )
bool	isAnimated () const
bool	isDockNestingEnabled () const
QMenuBar *	menuBar () const
QWidget *	menuWidget () const
void	removeDockWidget ( QDockWidget * dockwidget )
void	removeToolBar ( QToolBar * toolbar )
void	removeToolBarBreak ( QToolBar * before )
bool	restoreDockWidget ( QDockWidget * dockwidget )
bool	restoreState ( const QByteArray & state, int version = 0 )
QByteArray	saveState ( int version = 0 ) const
void	setCentralWidget ( QWidget * widget )
void	setCorner ( Qt::Corner corner, Qt::DockWidgetArea area )
void	setDockOptions ( DockOptions options )
void	setDocumentMode ( bool enabled )
void	setIconSize ( const QSize & iconSize )
void	setMenuBar ( QMenuBar * menuBar )
void	setMenuWidget ( QWidget * menuBar )
void	setStatusBar ( QStatusBar * statusbar )
void	setTabPosition ( Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition )
void	setTabShape ( QTabWidget::TabShape tabShape )
void	setToolButtonStyle ( Qt::ToolButtonStyle toolButtonStyle )
void	setUnifiedTitleAndToolBarOnMac ( bool set )
void	splitDockWidget ( QDockWidget * first, QDockWidget * second, Qt::Orientation orientation )
QStatusBar *	statusBar () const
QTabWidget::TabPosition	tabPosition ( Qt::DockWidgetArea area ) const
QTabWidget::TabShape	tabShape () const
QList<QDockWidget *>	tabifiedDockWidgets ( QDockWidget * dockwidget ) const
void	tabifyDockWidget ( QDockWidget * first, QDockWidget * second )
Qt::ToolBarArea	toolBarArea ( QToolBar * toolbar ) const
bool	toolBarBreak ( QToolBar * toolbar ) const
Qt::ToolButtonStyle	toolButtonStyle () const
bool	unifiedTitleAndToolBarOnMac () const
*/

ENDCLASS
